package com.atguigu.srb.core.mapper;

import com.atguigu.srb.core.pojo.entity.CommunityInformation;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

public interface CommunityInformationMapper extends BaseMapper<CommunityInformation> {

    @Select("SELECT * FROM community_information WHERE community_number = #{id} ANd is_deleted = 0 ")
    CommunityInformation selectByNumber(@Param("id") String data);
}
